package com.tutu.sys.dao;

import com.tutu.sys.entity.SysMsgUser;
import com.tutu.sys.entity.SysMsgUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysMsgUserMapper {
    int countByExample(SysMsgUserExample example);

    int deleteByExample(SysMsgUserExample example);

    int deleteByPrimaryKey(String userMsgId);

    int insert(SysMsgUser record);

    int insertSelective(SysMsgUser record);

    List<SysMsgUser> selectByExample(SysMsgUserExample example);

    SysMsgUser selectByPrimaryKey(String userMsgId);

    int updateByExampleSelective(@Param("record") SysMsgUser record, @Param("example") SysMsgUserExample example);

    int updateByExample(@Param("record") SysMsgUser record, @Param("example") SysMsgUserExample example);

    int updateByPrimaryKeySelective(SysMsgUser record);

    int updateByPrimaryKey(SysMsgUser record);
    
    List<SysMsgUser> getMyMsgs(SysMsgUser record);
}